package com.ruicar.afs.cloud.bizcommon.print.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.bizcommon.dto.print.TemplateDto;
import com.ruicar.afs.cloud.bizcommon.print.entity.ComPrintFormFieldMapping;
import com.ruicar.afs.cloud.common.core.query.QueryCondition;
import com.ruicar.afs.cloud.common.core.util.IResponse;

import java.util.List;

/**
 * 打印模板字段映射
 *
 * @author phong
 * @version 1.0
 * @created 2020/6/9 11:40
 */
public interface ComPrintFormFieldMappingService extends IService<ComPrintFormFieldMapping> {

    Boolean saveFieldMapping(ComPrintFormFieldMapping vo);

    Boolean delFieldMapping(String id);

    Boolean modifyFieldMapping(ComPrintFormFieldMapping vo);

    List<ComPrintFormFieldMapping> listForPrintFormId(String printFormId);

    IResponse query(QueryCondition<TemplateDto> queryCondition);
}
